﻿using iText.Forms.Fields.Properties;

namespace FswPdf.Models
{
    /// <summary>
    /// Pdf填充内容
    /// </summary>
    public class FillContent
    {
        /// <summary>
        /// 模板Id
        /// </summary>
        public string TemplateId { get; set; } = default!;
        public List<FillContentText> Texts { get; set; } = [];
        public List<FillContentCheckBox> checkBoxes { get; set; } = [];
    }
    public class FillContentText
    {
        public string Name { get; set; } = default!;
        public string? Value { get; set; }
    }
    public class FillContentCheckBox
    {
        public string Name { get; set; } = default!;
        /// <summary>
        /// CHECK,CIRCLE,CROSS,DIAMOND,SQUARE,STAR 默认CHECK
        /// </summary>
        public CheckBoxType Type { get; set; } = CheckBoxType.CHECK;
        public bool? Value { get; set; }
    }
}
